*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background: url("images/bg.png");
    background-size: cover;
    background-repeat: no-repeat;
}
.container{
    display: flex;
    justify-content: center;
    align-items: center;
    height:100vh;
}
.login{
    background: #ffffff;
    padding: 30px 15px;
}
.login h1{
    text-align: center;
    margin-bottom: 40px;
}
.login input{
    width: 375px;
    padding: 14px 20px 14px 40px;
    margin-bottom: 10px;
    outline: none;
    border: 1px solid #dddddd;
}
.login input:focus{
   border: 1px solid #cccccc;
}
.login p{
    position: relative;
}
#submit{
    margin-top: 30px;
    color: #ffffff;
    background: #7554df;
    cursor: pointer;
}
#submit:hover{
    background: #6531bf;
}
.user{
    background: url("images/yonghuming.png");
    width: 21px;
    height: 23px;
    display: inline-block;
    position: absolute;
    left: 9px;
    top: 15px;
}
.password{
    background: url("images/mima.png");
    width: 19px;
    height: 25px;
    display: inline-block;
    position: absolute;
    top: 9px;
    left: 11px;
}
.reg{
    height: 419px;
    padding: 100px 50px;
    color: #ffffff;
    background: url("images/bg-login.png");
    background-size: cover;
}
.reg p{
    margin-bottom: 50px;
}
.reg a{
    color: #f3f3f3;
    text-decoration: none;
}
.reg a:hover{
    color: #ffffff;
}
.right{
    background: url("images/youjiantou.png");
    width: 28px;
    height: 28px;
    display: inline-block;
    position: relative;
    top: 8px;
    left: 4px;
}
@media (max-width: 600px) {
    .container{
        display: inline-block;

    }
    .login,.reg{
        flex-basis: 100%;
    }
    .login input {
        width: 350px;
        padding: 14px 20px 14px 40px;
        margin-bottom: 10px;
        outline: none;
        border: 1px solid #dddddd;
    }
}